package com.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName(value = "post_img")
public class PostImg {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "post_id")
    private Integer postId;

    @TableField(value = "no")
    private Integer no;

    @TableField(value = "src")
    private String src;

    public static final String COL_ID = "id";

    public static final String COL_POST_ID = "post_id";

    public static final String COL_NO = "no";

    public static final String COL_SRC = "src";

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return post_id
     */
    public Integer getPostId() {
        return postId;
    }

    /**
     * @param postId
     */
    public void setPostId(Integer postId) {
        this.postId = postId;
    }

    /**
     * @return no
     */
    public Integer getNo() {
        return no;
    }

    /**
     * @param no
     */
    public void setNo(Integer no) {
        this.no = no;
    }

    /**
     * @return src
     */
    public String getSrc() {
        return src;
    }

    /**
     * @param src
     */
    public void setSrc(String src) {
        this.src = src;
    }
}